just gonna go on about how i fixed the ofb uniform bug a little bit bc i’m feeling like yapping:
i found out that going to plan your swimwear outfit on a dresser after setting your uniform, then cancelling without making any changes fixed the uniform (for some reason only swimwear worked consistently)
so i assumed there must be some englne-level code that runs when the plan outfit dialog pops up that “validates” all outfits to make sure hair, accessories, the sim’s face, etc. are all synced across outfits.
i thought i’d try to find and transplant this code to run when the uniform dialog is closed instead, which would solve the problem, however the disassembly looked too nightmarish, and i don’t have the game reverse engineered enough to figure that bit out, so i did something easier:
i edited the uniform bhavs to launch the plan outfit dialog right after the uniform one. obviously this looked stupid and brute forced as you’d have to cancel out of plan outfit everytime afterwards, but it “solved” the problem, and it’d be perfect if i could manage to automatically close the dialog as soon as the code that fixes the outfit runs.
so that’s what i did next. found the bit of code that runs when the plan outfit window is opened, found the bit of code that runs when you press the cancel button on it, and ran that right after the window is opened. worked good, but you could still see the window pop-up for a split second, which wasn’t ideal, so the next step was to figure out where in memory the window visibility was stored and mark it as invisible on creation. that did it! seamless.
after all this was figured out, i created a variable/flag that gets set to true when the uniform dialog pops up, and this code to hide and auto-close the plan outfit dialog only runs if that flag is set to true, then sets it back to false. this means that only the plan outfit dialog that pops up after the uniform dialog is hidden and cancelled, so you can still use the plan outfit interaction freely!
this also does mean that if you install the fix .package without the TS2Extender .asi you’ll get a plan outfit window everytime you set uniform. i guess that could also be some sort of fix/workaround if you can’t install the .asi for whatever reason.